package com.chendx.store.common.entity;

/**
 * 返回码
 */
public class StatusCode {
    public static final int OK = 20000;//成功
    public static final int ERROR = 20001;//失败
    public static final int LOGINERROR = 20002;//用户名或密码错误
    public static final int UNAUTHORIZED = 200021; //未经许可
    public static final int ACCESSERROR = 20003;//权限不足
    public static final int REMOTEERROR = 20004;//远程调用失败
    public static final int REPERROR = 20005;//重复操作
    public static final int NOTFOUNDERROR = 20006;//没有对应的抢购数据
    public static final int NOCOUNT = 20007;//没有库存
    public static final int NOGOODS = 20008;//商品不存在
    public static final int NOORDERERROR = 20009;//订单不存在
    public static final int ORDERSTATUSERROR = 20010;//订单不存在
    public static final int NOTIMETOSECKILL = 20011;//未到抢购开始时间
    public static final int ENDSECKILLED = 20012;//抢购已经结束
}
